<template>
  <footer>
    <div class="footer-box wrap clear">
      <div class="footer-l">
        <img src="../assets/img/slogan.7730f7f2.png" alt="" />
        <p>
          叩丁狼是一家专注于培养高级IT技术人才，为学员提供定制化IT职业规划方案及意见咨询服务的教育科技公司，为您提供海量优质课程，以及创新的线上线下学习体验，帮助您获得全新的个人发展和能力提升。
        </p>
      </div>
      <ul class="footer-m">
        <li
          class="first"
          @mouseenter="isShow = true"
          @mouseleave="isShow = false"
        >
          <a href="#">微信公众号</a>
          <div v-show="isShow">
            <img src="../assets/img/wx.5584e874.png" alt="" />
          </div>
        </li>
        <li><a href="#" class="wb">新浪微博</a></li>
        <li
          class="last"
          @mouseenter="isShow2 = true"
          @mouseleave="isShow2 = false"
        >
          <a href="#">在线客服</a>
          <div v-show="isShow2">
            <img src="../assets/img/service.848ec511.png" alt="" />
          </div>
        </li>
      </ul>
      <div class="footer-r">
        <span>全国免费咨询热线：</span>
        <p>020-85628002</p>
      </div>
    </div>
  </footer>
</template>

<script>
export default {
  data() {
    return {
      isShow: false,
      isShow2: false,
    };
  },
};
</script>

<style scoped lang="less">
footer {
  height: 240px;
  background: #242b39;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #7d879a;
  overflow: hidden;
  // position: fixed;
  // bottom: 0;
  width: 100%;
  .footer-box {
    a {
      font-size: 12px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #7d879a;
    }
    .footer-l {
      float: left;
      width: 426px;
      margin-top: 33px;
      p {
        margin-top: 27px;
        font-size: 12px;
        line-height: 24px;
      }
    }
    .footer-m {
      float: left;
      margin: 123px 120px 0 155px;
      width: 293px;
      li {
        float: left;
        a {
          font-size: 16px;
          padding: 0 20px;
          border-left: 1px solid #6a7385;
          border-right: 1px solid #6a7385;
          &.wb {
            &:hover {
              color: #777;
            }
          }
        }
        &.first {
          position: relative;
          & > div {
            position: absolute;
            top: -110px;
            left: -10px;
          }
          a {
            border-left: 0;
            padding-left: 0;
          }
        }
        &.last {
          position: relative;
          & > div {
            position: absolute;
            top: -110px;
            left: 5px;
          }
          a {
            border-right: 0;
            padding-right: 0;
          }
        }
      }
    }
    .footer-r {
      float: right;
      margin-top: 92px;
      span {
        font-size: 14px;
      }
      p {
        margin-top: 10px;
        font-size: 28px;
        font-family: SourceHanSansSC;
        font-weight: bold;
        color: #ffffff;
      }
    }
  }
}
</style>